package com.crm.dao;

import com.crm.base.BaseMapper;
import com.crm.query.SaleChanceQuery;
import com.crm.vo.SaleChance;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface SaleChanceMapper extends BaseMapper<SaleChance,Integer> {


//    List<SaleChance> selectByParams(BaseQuery baseQuery) throws DataAccessException;

    /**
     * 多条件查询的接口不需要单独定义
     * 由于多个模块涉及到多条件查询操作，所以将对应的多条件查询功能定义在父接口BaseMapper
     */

    List<SaleChance> selectByParams(SaleChanceQuery saleChanceQuery);


}
